package whf.file.entity;

import org.apache.struts.upload.FormFile;

/**
 * 文件类型
 * @author wanghaifeng
 * @create Mar 28, 2007 9:54:23 PM
 * 
 */
public class Type extends whf.framework.entity.AbstractEntity implements whf.framework.file.IType {

	private static final long serialVersionUID = 0;

	private String ext;

	private String mimeType;

	private String largeIcon;

	private String middleIcon;

	private String smallIcon;
	
	//
	private FormFile largeIconFile;
	
	private FormFile middleIconFile;
	
	private FormFile smallIconFile;
	// ---------- methods ----------

	public void setExt(String ext) {
		this.ext = ext;
	}

	public String getExt() {
		return this.ext;
	}

	public void setMimeType(String mimeType) {
		this.mimeType = mimeType;
	}

	public String getMimeType() {
		return this.mimeType;
	}

	public void setLargeIcon(String largeIcon) {
		this.largeIcon = largeIcon;
	}

	public String getLargeIcon() {
		return this.largeIcon;
	}

	public void setMiddleIcon(String middleIcon) {
		this.middleIcon = middleIcon;
	}

	public String getMiddleIcon() {
		return this.middleIcon;
	}

	public void setSmallIcon(String smallIcon) {
		this.smallIcon = smallIcon;
	}

	public String getSmallIcon() {
		return this.smallIcon;
	}

	/**
	 * @return Returns the largeIconFile.
	 */
	public FormFile getLargeIconFile() {
		return largeIconFile;
	}

	/**
	 * @param largeIconFile The largeIconFile to set.
	 */
	public void setLargeIconFile(FormFile largeIconFile) {
		this.largeIconFile = largeIconFile;
	}

	/**
	 * @return Returns the middleIconFile.
	 */
	public FormFile getMiddleIconFile() {
		return middleIconFile;
	}

	/**
	 * @param middleIconFile The middleIconFile to set.
	 */
	public void setMiddleIconFile(FormFile middleIconFile) {
		this.middleIconFile = middleIconFile;
	}

	/**
	 * @return Returns the smallIconFile.
	 */
	public FormFile getSmallIconFile() {
		return smallIconFile;
	}

	/**
	 * @param smallIconFile The smallIconFile to set.
	 */
	public void setSmallIconFile(FormFile smallIconFile) {
		this.smallIconFile = smallIconFile;
	}

}